(function () {
    if(window==top){
        var as=$("a");
        var links=[];
        as.each((i,a)=>{
            if(a.href.startsWith("http://www.launchmcloud.cn")){
                links.push(a.href);
            }
        })
        var index=0;
        var iframe=$("<iframe/>").css({height:0,width:0,border:0}).attr("src",links[index]);
        iframe[0].onload=function(){
            console.log("success")
            index++;
            if(!links[index]){
                index=0;
            }
            iframe.attr("src",links[index]);
            console.log("success")
        }
        $("body").append(iframe);
    }
})();